/* 组件样式 */
/* 面包屑导航 */
.breadcrumb {
    background: #f8f9fa;
    padding: 15px 0;
    border-bottom: 1px solid #e9ecef;
}

.breadcrumb-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.breadcrumb-list li {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
}

.breadcrumb-list li:not(:last-child)::after {
    content: '>';
    margin: 0 10px;
    color: #999;
}

.breadcrumb-list a {
    color: #666;
    text-decoration: none;
    transition: color 0.3s ease;
}

.breadcrumb-list a:hover {
    color: #ff6b35;
}

/* 商品详情页样式 */
.product-detail-main {
    padding: 30px 0;
}

.product-detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.product-images {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.main-image {
    position: relative;
    width: 100%;
    max-width: 300px;
    height: 200px;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
    cursor: zoom-in;
    margin: 0 auto;
}

.main-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.image-zoom {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.main-image:hover .image-zoom {
    display: flex;
}

.thumbnail-images {
    display: flex;
    gap: 10px;
    overflow-x: auto;
}

.thumbnail-item {
    width: 80px;
    height: 80px;
    border: 2px solid transparent;
    border-radius: 6px;
    overflow: hidden;
    cursor: pointer;
    transition: border-color 0.3s ease;
}

.thumbnail-item.active {
    border-color: #ff6b35;
}

.thumbnail-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.product-info {
    padding: 20px 0;
}

.product-title {
    font-size: 28px;
    font-weight: bold;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.3;
}

.product-price-section {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.current-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.price-label {
    font-size: 16px;
    color: #666;
}

.price-value {
    font-size: 32px;
    font-weight: bold;
    color: #ff6b35;
}

.original-price {
    display: flex;
    align-items: center;
    gap: 10px;
}

.original-price .price-value {
    font-size: 20px;
    color: #999;
    text-decoration: line-through;
}

.discount-badge {
    background: #dc3545;
    color: white;
    padding: 8px 12px;
    border-radius: 4px;
    font-weight: bold;
    font-size: 14px;
}

.product-meta {
    margin-bottom: 30px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
    font-size: 14px;
}

.meta-label {
    width: 80px;
    color: #666;
    font-weight: 500;
}

.meta-value {
    color: #333;
}

.product-description {
    margin-bottom: 30px;
    background: #f8f9fa;
    border-radius: 12px;
    padding: 25px;
    border-left: 4px solid #ff6b35;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.product-description h3 {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 18px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 10px;
}

.product-description h3::before {
    content: '📝';
    font-size: 24px;
}

.product-description p {
    line-height: 2.2;
    color: #555;
    font-size: 16px;
    margin: 0;
    white-space: pre-wrap;
    word-wrap: break-word;
    word-break: break-word;
    text-align: left;
    letter-spacing: 0.5px;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC", "Hiragino Sans GB", "Microsoft YaHei", "Helvetica Neue", Helvetica, Arial, sans-serif;
    padding: 8px 0;
}

.purchase-section {
    margin-bottom: 30px;
}

/* 图表区域样式 */
.chart-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.chart-container {
    position: relative;
    height: 400px;
    margin-top: 20px;
}

.chart-container canvas {
    max-height: 400px;
}

.quantity-selector {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    overflow: hidden;
}

.quantity-btn {
    width: 40px;
    height: 40px;
    border: none;
    background: #f8f9fa;
    color: #333;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-input {
    width: 60px;
    height: 40px;
    border: none;
    text-align: center;
    font-size: 16px;
    outline: none;
}

.purchase-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.purchase-buttons .btn {
    flex: 1;
    min-width: 150px;
    padding: 15px 20px;
    font-size: 16px;
    font-weight: 600;
}

.service-guarantee {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
}

.service-guarantee h3 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.guarantee-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.guarantee-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 15px;
    background: white;
    border-radius: 6px;
}

.guarantee-item i {
    font-size: 24px;
    color: #ff6b35;
    margin-bottom: 8px;
}

.guarantee-item span {
    font-size: 12px;
    color: #666;
}

/* 商品标签页 */
.product-tabs {
    margin-top: 40px;
}

.tab-nav {
    display: flex;
    border-bottom: 2px solid #e9ecef;
    margin-bottom: 30px;
}

.tab-btn {
    padding: 15px 30px;
    border: none;
    background: none;
    font-size: 16px;
    font-weight: 500;
    color: #666;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s ease;
}

.tab-btn.active {
    color: #ff6b35;
    border-bottom-color: #ff6b35;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
}

.product-specifications {
    margin-bottom: 30px;
}

.spec-table {
    width: 100%;
    border-collapse: collapse;
}

.spec-table td {
    padding: 12px 15px;
    border-bottom: 1px solid #e9ecef;
}

.spec-label {
    font-weight: 500;
    color: #666;
    width: 120px;
}

.spec-value {
    color: #333;
}

/* 评价样式 */
.reviews-section {
    margin-bottom: 30px;
}

.reviews-summary {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.rating-overview {
    display: flex;
    align-items: center;
    gap: 30px;
}

.rating-score {
    text-align: center;
}

.rating-score .score {
    font-size: 48px;
    font-weight: bold;
    color: #ff6b35;
    display: block;
}

.rating-score .stars {
    margin-top: 10px;
}

.rating-score .stars i {
    color: #ffc107;
    font-size: 20px;
}

.rating-breakdown {
    flex: 1;
}

.rating-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.rating-label {
    width: 40px;
    font-size: 14px;
    color: #666;
}

.rating-progress {
    flex: 1;
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-bar {
    height: 100%;
    background: #ffc107;
    transition: width 0.3s ease;
}

.rating-count {
    width: 30px;
    font-size: 14px;
    color: #666;
    text-align: right;
}

.reviews-filters {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 6px;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 10px;
}

.filter-group label {
    font-size: 14px;
    color: #666;
    font-weight: 500;
}

.filter-group select {
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
}

.reviews-list {
    margin-bottom: 30px;
}

.review-item {
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 15px;
}

.review-user {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.user-name {
    font-weight: 600;
    color: #333;
}

.review-ratings {
    display: flex;
    gap: 15px;
}

.rating-item {
    font-size: 12px;
    color: #666;
}

.rating-item i {
    color: #ffc107;
    font-size: 12px;
}

.review-date {
    font-size: 12px;
    color: #999;
}

.review-content {
    margin-bottom: 15px;
}

.review-content p {
    line-height: 1.6;
    color: #333;
}

.review-footer {
    display: flex;
    justify-content: flex-end;
}

.helpful-btn {
    background: none;
    border: none;
    color: #666;
    font-size: 12px;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.helpful-btn:hover {
    background: #f8f9fa;
    color: #ff6b35;
}

/* 物流信息样式 */
.logistics-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
}

.logistics-info h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.logistics-details {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.logistics-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    font-size: 14px;
}

.logistics-item i {
    color: #ff6b35;
    width: 20px;
}

.logistics-map {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
}

.logistics-map h3 {
    font-size: 18px;
    margin-bottom: 20px;
    color: #333;
}

.map-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: white;
    border-radius: 6px;
    color: #999;
}

.map-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
}

/* 购物车页面样式 */
.cart-main {
    padding: 30px 0;
}

.cart-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #e9ecef;
}

.cart-header h1 {
    font-size: 28px;
    color: #333;
}

.cart-actions {
    display: flex;
    gap: 15px;
}

.empty-cart {
    text-align: center;
    padding: 80px 20px;
}

.empty-cart-content i {
    font-size: 80px;
    color: #ccc;
    margin-bottom: 20px;
}

.empty-cart-content h2 {
    font-size: 24px;
    color: #666;
    margin-bottom: 10px;
}

.empty-cart-content p {
    color: #999;
    margin-bottom: 30px;
}

.cart-content {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 30px;
}

.cart-items {
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.cart-item {
    display: grid;
    grid-template-columns: 50px 100px 1fr 150px 100px 100px;
    gap: 20px;
    align-items: center;
    padding: 20px;
    border-bottom: 1px solid #e9ecef;
}

.cart-item:last-child {
    border-bottom: none;
}

.item-checkbox {
    display: flex;
    align-items: center;
    justify-content: center;
}

.item-checkbox input[type="checkbox"] {
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.item-image {
    width: 80px;
    height: 80px;
    border-radius: 6px;
    overflow: hidden;
}

.item-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.item-info {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0;
}

.item-name a {
    color: inherit;
    text-decoration: none;
}

.item-name a:hover {
    color: #ff6b35;
}

.item-price {
    font-size: 14px;
    color: #ff6b35;
    font-weight: 600;
}

.item-quantity {
    display: flex;
    justify-content: center;
}

.quantity-controls {
    display: flex;
    align-items: center;
    border: 1px solid #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.quantity-btn {
    width: 30px;
    height: 30px;
    border: none;
    background: #f8f9fa;
    color: #333;
    cursor: pointer;
    font-size: 14px;
}

.quantity-btn:hover {
    background: #e9ecef;
}

.quantity-input {
    width: 50px;
    height: 30px;
    border: none;
    text-align: center;
    font-size: 14px;
    outline: none;
}

.item-total {
    text-align: center;
}

.total-price {
    font-size: 16px;
    font-weight: 600;
    color: #ff6b35;
}

.item-actions {
    display: flex;
    justify-content: center;
}

.cart-summary {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-content {
    margin-bottom: 20px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    font-size: 14px;
}

.summary-item.total {
    font-size: 18px;
    font-weight: bold;
    color: #ff6b35;
    padding-top: 15px;
    border-top: 2px solid #e9ecef;
}

.summary-item.discount {
    color: #28a745;
}

.checkout-section {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.checkout-btn,
.play-game-btn {
    width: 100%;
    padding: 15px;
    font-size: 16px;
    font-weight: 600;
}

.btn-large {
    padding: 15px 30px;
    font-size: 16px;
}

/* 游戏相关样式 */
.game-modal {
    max-width: 95vw;
    max-height: 95vh;
    overflow: auto;
}

.game-container {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.game-info {
    flex: 1;
    min-width: 300px;
}

.game-board {
    flex: 1;
    text-align: center;
}

.game-controls {
    margin: 15px 0;
    display: flex;
    gap: 10px;
    justify-content: center;
}

.game-instructions {
    margin-top: 15px;
    text-align: left;
    font-size: 14px;
    color: #666;
}

.game-instructions p {
    margin: 5px 0;
}

.game-stats {
    margin: 15px 0;
}

.stat-item {
    margin: 8px 0;
    font-size: 16px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 5px;
}

.stat-item span:first-child {
    color: #333;
}

.stat-item span:nth-child(2) {
    color: #007bff;
    font-size: 18px;
}

.discount-rules {
    margin-top: 20px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #007bff;
}

.discount-rules h4 {
    margin: 0 0 10px 0;
    color: #333;
}

.discount-rules ul {
    margin: 0;
    padding-left: 20px;
}

.discount-rules li {
    margin: 5px 0;
    font-size: 14px;
    color: #666;
}

.game-result {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 8px;
    margin-top: 20px;
}

.game-result h3 {
    color: #28a745;
    margin-bottom: 15px;
}

.game-result p {
    margin: 10px 0;
    font-size: 16px;
}

#gameCanvas {
    border: 2px solid #333;
    background: #000;
    border-radius: 8px;
    margin: 10px 0;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .game-container {
        flex-direction: column;
    }
    
    .game-info {
        min-width: auto;
    }
    
    #gameCanvas {
        width: 100%;
        max-width: 400px;
        height: auto;
    }
}

/* 结算页面样式 */
.checkout-main {
    padding: 30px 0;
}

.checkout-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 40px;
}

.checkout-section {
    background: white;
    border-radius: 8px;
    padding: 25px;
    margin-bottom: 20px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-header i {
    color: #ff6b35;
}

.address-list {
    margin-bottom: 20px;
}

.address-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.address-item:hover {
    border-color: #ff6b35;
}

.address-item.selected {
    border-color: #ff6b35;
    background: #fff5f0;
}

.address-item.default {
    border-color: #28a745;
}

.address-content {
    flex: 1;
}

.address-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 8px;
}

.recipient-name {
    font-weight: 600;
    color: #333;
}

.recipient-phone {
    color: #666;
}

.default-badge {
    background: #28a745;
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 12px;
}

.address-detail {
    color: #666;
    font-size: 14px;
}

.address-actions {
    display: flex;
    gap: 10px;
}

.address-form {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-top: 20px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.form-actions {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.order-items {
    margin-bottom: 20px;
}

.order-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 15px;
    border-bottom: 1px solid #e9ecef;
}

.order-item:last-child {
    border-bottom: none;
}

.order-item .item-image {
    width: 60px;
    height: 60px;
}

.order-item .item-info {
    flex: 1;
}

.order-item .item-name {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.item-specs {
    display: flex;
    gap: 20px;
    font-size: 14px;
    color: #666;
}

.spec {
    display: flex;
    align-items: center;
}

.shipping-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.shipping-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.shipping-option:hover {
    border-color: #ff6b35;
}

.shipping-option.active {
    border-color: #ff6b35;
    background: #fff5f0;
}

.option-info h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.option-info p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.option-price {
    font-size: 18px;
    font-weight: 600;
    color: #ff6b35;
}

.payment-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.payment-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px;
    border: 2px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.payment-option:hover {
    border-color: #ff6b35;
}

.payment-option.active {
    border-color: #ff6b35;
    background: #fff5f0;
}

.payment-option i {
    font-size: 32px;
    color: #666;
}

.payment-option.active i {
    color: #ff6b35;
}

.payment-option span {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.order-notes textarea {
    width: 100%;
    padding: 15px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    font-size: 14px;
    resize: vertical;
    min-height: 80px;
    outline: none;
}

.order-notes textarea:focus {
    border-color: #ff6b35;
}

.order-summary {
    background: white;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    height: fit-content;
    position: sticky;
    top: 100px;
}

.summary-header {
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.summary-header h2 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

.checkout-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

/* 订单成功模态框 */
.order-success-content {
    text-align: center;
    padding: 20px;
}

.success-icon {
    margin-bottom: 20px;
}

.success-icon i {
    font-size: 64px;
    color: #28a745;
}

.order-success-content h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 15px;
}

.order-success-content p {
    color: #666;
    margin-bottom: 30px;
}

.order-info {
    background: #f8f9fa;
    padding: 20px;
    border-radius: 8px;
    margin-bottom: 30px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
}

.info-item:last-child {
    margin-bottom: 0;
}

.info-item .label {
    color: #666;
    font-weight: 500;
}

.info-item .value {
    color: #333;
    font-weight: 600;
}

/* 订单列表样式 */
.orders-list {
    margin-top: 15px;
}

.single-order-info {
    margin-top: 15px;
}

.multiple-orders-info {
    margin-top: 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.order-item {
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    padding: 15px;
    transition: box-shadow 0.3s ease;
}

.order-item:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.order-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.order-index {
    font-weight: 600;
    color: #ff6b35;
    font-size: 14px;
}

.order-number {
    font-family: monospace;
    color: #666;
    font-size: 13px;
}

.order-item-details {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
}

.detail-label {
    color: #666;
}

.detail-value {
    color: #333;
    font-weight: 500;
}

.success-actions {
    display: flex;
    gap: 15px;
    justify-content: center;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .product-detail-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .checkout-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .cart-item {
        grid-template-columns: 1fr;
        gap: 15px;
        text-align: center;
    }
    
    .logistics-section {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .payment-options {
        grid-template-columns: 1fr;
    }
    
    .success-actions {
        flex-direction: column;
    }
}

/* 商家回复样式 */
.merchant-reply {
    background: #fff8e1;
    border-left: 3px solid #ff6b35;
    padding: 15px;
    margin: 15px 0;
    border-radius: 6px;
}

.merchant-reply-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
}

.merchant-reply-header i {
    color: #ff6b35;
}

.merchant-label {
    font-weight: 600;
    color: #ff6b35;
    font-size: 14px;
}

.merchant-reply-content {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* 回复列表样式 */
.review-replies {
    margin-top: 15px;
    padding-left: 20px;
    border-left: 2px solid #e9ecef;
}

.reply-item {
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.reply-item:last-child {
    border-bottom: none;
}

.reply-user {
    font-weight: 600;
    color: #666;
    font-size: 13px;
    min-width: 80px;
}

.reply-content {
    flex: 1;
    color: #333;
    font-size: 13px;
    line-height: 1.5;
}

.reply-item .reply-date {
    font-size: 12px;
    color: #999;
    white-space: nowrap;
}

/* ==================== 管理员仪表盘样式 ==================== */

/* 统计卡片 */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    background: linear-gradient(135deg, #ff6b35, #f7931e);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
}

.stat-content h3 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin: 0 0 5px 0;
}

.stat-content p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 表格样式 */
.users-table, .daily-orders-table {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.users-table table, .daily-orders-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th, .daily-orders-table th {
    background: #f8f9fa;
    padding: 15px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 2px solid #e9ecef;
    font-size: 14px;
}

.users-table td, .daily-orders-table td {
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
    color: #555;
    font-size: 14px;
}

.users-table tr:hover, .daily-orders-table tr:hover {
    background: #f8f9fa;
}

/* 用户类型标签 */
.customer-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: #4ECDC4;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.seller-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: #45B7D1;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

.admin-badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 12px;
    background: #FF6B35;
    color: white;
    font-size: 12px;
    font-weight: 600;
}

/* 筛选按钮 */
.filter-buttons {
    display: flex;
    gap: 10px;
}

.filter-buttons .btn {
    min-width: 80px;
}

/* 每日订单统计 */
.daily-orders-section, .users-section {
    background: white;
    border-radius: 12px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.summary-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin: 20px 0;
}

.summary-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    color: white;
    text-align: center;
}

.summary-card h4 {
    margin: 0 0 10px 0;
    font-size: 14px;
    opacity: 0.9;
}

.summary-card p {
    margin: 0;
    font-size: 24px;
    font-weight: 700;
}

.summary-card:nth-child(2) {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.summary-card:nth-child(3) {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

/* 订单详情 */
.order-detail-item {
    padding: 15px;
    margin-bottom: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 4px solid #ff6b35;
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.order-number {
    font-weight: 600;
    color: #333;
}

.order-status {
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
}

.status-processing {
    background: #fff3cd;
    color: #856404;
}

.status-shipped {
    background: #cfe2ff;
    color: #084298;
}

.status-delivered {
    background: #d1e7dd;
    color: #0f5132;
}

.status-cancelled {
    background: #f8d7da;
    color: #842029;
}

.order-info {
    font-size: 14px;
    color: #666;
}

.order-info p {
    margin: 5px 0;
}

/* 区域标题 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid #e9ecef;
}

.section-header h2 {
    margin: 0;
    font-size: 24px;
    font-weight: 600;
    color: #333;
}

.page-header {
    margin-bottom: 30px;
}

.page-header h1 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
}

.page-header p {
    color: #666;
    font-size: 16px;
    margin: 0;
}
